package com.example.coursemanagement.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.coursemanagement.mapper.MessageMapper;
import com.example.coursemanagement.pojo.Message;
import com.example.coursemanagement.service.MessageService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class MessageServiceImpl extends ServiceImpl<MessageMapper, Message> implements MessageService {

    @Resource
    private MessageMapper messageMapper;

    @Override
    public Integer saveContent(Message message) {
        return messageMapper.saveContent(message);
    }
}
